package com.newhonor.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newhonor.server.pojo.Department;

import java.util.List;

/**
 * @Author newhonor
 * @Date 2021/2/23 11:04
 * @Version 1.0
 **/
public interface DepartmentMapper extends BaseMapper<Department> {
    List<Department> getAllDepartments(Integer parentId);

    void addDep(Department department);

    void deleteDep(Department department);
}
